﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SetUserPass.aspx.cs" Inherits="MidSoft.Sys.SetUserPass" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
		<title>设置密码</title>		
    <link href="/Themes/Default/Css/Style.css" rel="stylesheet" type="text/css" />
</head>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<div align="center">
				<table cellSpacing="0" cellPadding="5" width="600" align="center" border="0">
					<tr>
						<td bgColor="#f5f9ff">
							<table cellSpacing="0" borderColorDark="#d3d8e0" cellPadding="5" width="100%" borderColorLight="#4f7fc9"
								border="1">
								<tr>
									<td bgColor="#e3efff" height="22" align="center"></td>
								</tr>
								<tr>
									<td height="22">
										<table cellSpacing="0" cellPadding="0" width="100%" border="0">
											<tr>
												<td width="30%" height="22">
													<div align="right">账号名：</div>
												</td>
												<td height="22">
                                                    <asp:Label ID="lblName" runat="server" Text="Label"></asp:Label>
                                                </td>
											</tr>
										    <tr>
												<td width="30%" height="22">
													<div align="right">原密码：</div>
												</td>
												<td height="22"><asp:textbox id="txtOldPassword" runat="server" TextMode="Password"></asp:textbox></td>
											</tr>
											<tr>
												<td width="30%" height="22">
													<div align="right">密码：</div>
												</td>
												<td height="22"><asp:textbox id="txtPassword" runat="server" TextMode="Password"></asp:textbox></td>
											</tr>
											<tr>
												<td width="30%" height="22">
													<div align="right">密码确认：</div>
												</td>
												<td height="22"><asp:textbox id="txtPassword1" runat="server" TextMode="Password"></asp:textbox>
													</td>
											</tr>
											<tr>
												<td colSpan="2" height="22"><asp:label id="lblMsg" runat="server"></asp:label>
													<asp:CompareValidator id="CompareValidator1" runat="server" ErrorMessage="密码不一致！" ControlToCompare="txtPassword"
														ControlToValidate="txtPassword1"></asp:CompareValidator></td>
											</tr>
										</table>
									</td>
								</tr>
								<tr>
									<td height="22">
										<div align="center"><asp:button id="btnUpdate" runat="server" Text="· 提交 ·" onclick="btnUpdate_Click"></asp:button><FONT face="宋体">&nbsp;</FONT>
											                <input type="button" value="关闭"  class="inputbutton" onmouseover="this.className='inputbutton_hover'"
                    onmouseout="this.className='inputbutton'" onclick="javascript:window.parent.$('#dd').dialog('close');"/>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</div>
		</form>
	</body>
</html>
